package com.snpic.appaw.module.third.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author JiJun
 * @date 2025/9/11 10:39
 * @修改时间 2025/9/11 10:39
 * @description 从配置文件读取
 */
@Data
@Component
@ConfigurationProperties(prefix = "third-party.deep-orc")
public class DeepOCRConfig {
	private VehicleLicense vehicleLicense;
	private VeBack vehicleBack;
	private IdCard idCard;

	/**
	 * 行驶证识别正页
	 */
	@Data
	public static class VehicleLicense {
		private String url;
	}

	/**
	 * 行驶证识别副页
	 */
	@Data
	public static class VeBack {
		private String url;
	}

	/**
	 * 身份证结构化识别V1
	 */
	@Data
	public static class IdCard {
		private String url;
	}
}
